<?php
namespace app\home\model;

use think\Model;
use think\Db;

class Article extends model
{
    const STATUS_ACTIVE = 1;

    // static public function getOne($id)
    // {
    //     $result = [];
    //     $result = Db::table('')
    //     return self::where(['id'=>$id,'status'=>self::STATUS_ACTIVE])->column('id,title,description');
    // }
}